package com.qb.video.http



class VideoApiRepositiry private constructor(private val netWork: VideoNetWork){

    companion object {
        @Volatile
        private var INSTANCE: VideoApiRepositiry? = null

        fun getInstance(netWork: VideoNetWork) = INSTANCE ?: synchronized(this) {
            INSTANCE ?: VideoApiRepositiry(netWork).also { INSTANCE = it }
        }
    }

//    suspend fun videomain(map:MutableMap<String,Any>): VideoList {
//        return netWork.videomain(map)
//    }
//    suspend fun api(map:MutableMap<String,Any>): ResponseBody {
//        return netWork.api(map)
//    }
}